package cn.org.xiaosheng.server.service;


import cn.org.xiaosheng.server.annotation.RpcServer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;

@RpcServer
public class LBWServiceImpl implements HelloService{
    @Override
    public JsonObject sayHello(String name) {
        JsonObject jsonObject = new JsonObject();
        jsonObject.addProperty("result", "卢本伟说你好"+name);
        return jsonObject;
    }

    @Override
    public JsonObject sayHello2(String name) {
        JsonObject jsonObject = new JsonObject();
        jsonObject.addProperty("LBWName", name);
        return jsonObject;
    }
}
